database
Class CreateTables

java.lang.Object
  extended by database.CreateTables

public class CreateTables
extends java.lang.Object

Class CreateTables Génére les tables pour l'application championnat_football

Author:
Hervé Le Fouler et Lionel Lasry

Constructor Summary
CreateTables()
           
 
Method Summary
 void createChampionnatTable()
          Création de la table Championnat
 void createClientTable()
          Création de la table Client Les utilisateurs de l'application
 void createEquipeTable()
          Création de la table Equipe
 void createMatchTable()
          Création de la table Match
 void dropTable(java.lang.String table)
          Supprime une table (fait un drop table SQL)
 void insertTestTuples()
          Insére un jeu d'essai dans la base
static void main(java.lang.String[] args)
           
 void truncTable(java.lang.String table)
          Vide une table (fait un trunc SQL)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateTables

public CreateTables()
Method Detail

main

public static void main(java.lang.String[] args)

createChampionnatTable

public void createChampionnatTable()
Création de la table Championnat


createEquipeTable

public void createEquipeTable()
Création de la table Equipe


createMatchTable

public void createMatchTable()
Création de la table Match


createClientTable

public void createClientTable()
Création de la table Client Les utilisateurs de l'application


insertTestTuples

public void insertTestTuples()
Insére un jeu d'essai dans la base


truncTable

public void truncTable(java.lang.String table)
Vide une table (fait un trunc SQL)

Parameters:
String - table à vider

dropTable

public void dropTable(java.lang.String table)
Supprime une table (fait un drop table SQL)

Parameters:
String - table à supprimer